<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="model.pojo.SuKienTinTuc"%>
<%@page import="java.util.List"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!--sidebar-->
<div id="content">
    <div id="sidebar">
        <div id="search">
            <p>Tìm Kiếm</p>
            <form action="http://www.google.com" method="get" target="_blank">
                <input id="search-field" type="text" name="search" value="" />
                <input class="button" type="submit" name="submit" value="Tìm Kiếm" />
            </form>					
        </div><!--End #search-->

        <div id="feature">
            <h1>Danh Mục</h1>
            <ul>
                <li><a href="MuaSam.do?Action=View">MUA SẮM</a></li>
                <li><a href="#">MUA MÃ THẺ</a> </li>
                <li><a href="#">NẠP TOPUP</a> </li>
                <li><a href="#">THANH TOÁN HÓA ĐƠN</a> </li>
                <li><a href="#">ĐẠI LÝ</a> </li>
            </ul>
        </div><!--End #feature-->

        <div id="news">
            <h1>Tin Tức Và Sự Kiện</h1>
            <ul>
                <c:forEach var="tt" items="${tinTucs}">
                    <li>
                        <img src="images/${tt.logo}" alt="tutorial icons" width="60" height="60" />
                        <p><a href="SuKien.do?maTinTuc=${tt.maTinTuc}">${tt.title}</a></p>
                    </li>
                </c:forEach>					
            </ul>

        </div><!--End #news-->
    </div>
    <!--End #sidebar-->
    <!--end sidebar-->